class Router {
    path: string
    name: string
    index?: string
    show: boolean = false
    authList?:Array<string>
    children: Array<Router>

    constructor(path: string, name: string, children: Array<Router>) {
        this.path = path;
        this.name = name;
        this.children = children;
    }
}

export default Router;